package com.phantasy.proto
{
	import com.phantasy.Message;
	
	import flash.net.registerClassAlias;
	
	public class p_role_attr extends Message
	{
		public var role_id:Number = 0;
		public var role_name:String = "";
		public var next_level_exp:Number = 0;
		public var exp:Number = 0;
		public var level:int = 0;
		public var five_ele_attr:int = 0;
		public var last_login_location:String = "";
		public var equips:Array;
		public var jungong:int = 0;
		public var charm:int = 0;
		public var familylv:int = 0;
		public var skin:p_skin = null;
		public var cur_energy:int = 2000;
		public var max_energy:int = 2000;
		public var remain_skill_points:int = 0;
		public var gold:int = 0;
		public var silver:int = 0;
		public var copper:int = 0;
		public var show_cloth:Boolean = true;
		public var moral_values:int = 0;
		public var gongxun:int = 0;
		public var last_login_ip:String = "";
		public var office_id:int = 0;
		public var office_name:String = "";
		public var unbund:Boolean = false;
		public var family_contribute:int = 0;
		public var active_points:int = 0;
		public var category:int = 0;
		public var show_equip_ring:Boolean = true;
		public var is_payed:Boolean = false;
		public var sustained_time_per_day:int = 0;
		public var battle_score:int = 0;
		public var aura:int = 0;
		public var good_luck:int = 0;
		public var buy_good_luck_num:int = 0;
		public var last_login_time:int = 0;
		public var last_offline_time:int = 0;
		public var has_get_first:Boolean = false;
		public var total_pay_gold:int = 0;
		public var total_send_flower:int = 0;
		public var total_recv_flower:int = 0;
		
		public function p_role_attr()
		{
			this.equips = new Array();
			super();
			registerClassAlias("p.p_role_attr", p_role_attr);
		}
		
		override public function getMethodName():String
		{
			return ("role_");
		}
		
		override public function getClassName():String
		{
			return ("p_role_attr");
		}
		
		override public function getAttributes():Array
		{
			return ([["role_id", "Number", "null"], ["role_name", "String", "null"], ["next_level_exp", "Number", "null"], ["exp", "Number", "null"], ["level", "int", "null"], ["five_ele_attr", "int", "null"], ["last_login_location", "String", "null"], ["equips", "array", "p_goods"], ["jungong", "int", "null"], ["charm", "int", "null"], ["familylv", "int", "null"], ["skin", "p_skin", "null"], ["cur_energy", "int", "null"], ["max_energy", "int", "null"], ["remain_skill_points", "int", "null"], ["gold", "int", "null"], ["silver", "int", "null"], ["copper", "int", "null"], ["show_cloth", "Boolean", "null"], ["moral_values", "int", "null"], ["gongxun", "int", "null"], ["last_login_ip", "String", "null"], ["office_id", "int", "null"], ["office_name", "String", "null"], ["unbund", "Boolean", "null"], ["family_contribute", "int", "null"], ["active_points", "int", "null"], ["category", "int", "null"], ["show_equip_ring", "Boolean", "null"], ["is_payed", "Boolean", "null"], ["sustained_time_per_day", "int", "null"], ["battle_score", "int", "null"], ["aura", "int", "null"], ["good_luck", "int", "null"], ["buy_good_luck_num", "int", "null"], ["last_login_time", "int", "null"], ["last_offline_time", "int", "null"], ["has_get_first", "Boolean", "null"], ["total_pay_gold", "int", "null"], ["total_send_flower", "int", "null"], ["total_recv_flower", "int", "null"]]);
		}
	}
}